Optimal. Leaf size=62 \[ -\frac{b \log \left (a+b x^2\right )}{2 a (b c-a d)}+\frac{d \log \left (c+d x^2\right )}{2 c (b c-a d)}+\frac{\log (x)}{a c} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.155338, antiderivative size = 62, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ -\frac{b \log \left (a+b x^2\right )}{2 a (b c-a d)}+\frac{d \log \left (c+d x^2\right )}{2 c (b c-a d)}+\frac{\log (x)}{a c} \]
Antiderivative was successfully verified.
[In] Int[1/(x*(a + b*x^2)*(c + d*x^2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 25.999, size = 49, normalized size = 0.79 \[ - \frac{d \log{\left (c + d x^{2} \right )}}{2 c \left (a d - b c\right )} + \frac{b \log{\left (a + b x^{2} \right )}}{2 a \left (a d - b c\right )} + \frac{\log{\left (x^{2} \right )}}{2 a c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x/(b*x**2+a)/(d*x**2+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0441077, size = 54, normalized size = 0.87 \[ \frac{-b c \log \left (a+b x^2\right )+a d \log \left (c+d x^2\right )-2 a d \log (x)+2 b c \log (x)}{2 a b c^2-2 a^2 c d} \]
Antiderivative was successfully verified.
[In] Integrate[1/(x*(a + b*x^2)*(c + d*x^2)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.013, size = 59, normalized size = 1. \[{\frac{\ln \left ( x \right ) }{ac}}-{\frac{d\ln \left ( d{x}^{2}+c \right ) }{2\,c \left ( ad-bc \right ) }}+{\frac{b\ln \left ( b{x}^{2}+a \right ) }{2\,a \left ( ad-bc \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x/(b*x^2+a)/(d*x^2+c),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.34522, size = 82, normalized size = 1.32 \[ -\frac{b \log \left (b x^{2} + a\right )}{2 \,{\left (a b c - a^{2} d\right )}} + \frac{d \log \left (d x^{2} + c\right )}{2 \,{\left (b c^{2} - a c d\right )}} + \frac{\log \left (x^{2}\right )}{2 \, a c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((b*x^2 + a)*(d*x^2 + c)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.283252, size = 73, normalized size = 1.18 \[ -\frac{b c \log \left (b x^{2} + a\right ) - a d \log \left (d x^{2} + c\right ) - 2 \,{\left (b c - a d\right )} \log \left (x\right )}{2 \,{\left (a b c^{2} - a^{2} c d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((b*x^2 + a)*(d*x^2 + c)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x/(b*x**2+a)/(d*x**2+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((b*x^2 + a)*(d*x^2 + c)*x),x, algorithm="giac")
[Out]